package service;

import model.Meeting;
import pojo.PageEntity;

public interface MeetingService {
    PageEntity<Meeting> findPage(Integer currPage, String title, Integer status);

    Integer countByTitleAndStatus(String title, Integer status);

    void save(Meeting meeting);

    Meeting findById(Integer id);

    Integer findMeetingCountByMeetingId(Integer id);

    Boolean checkJoin(Integer uId, Integer id);

    void unJoinMeeting(Integer id, Integer id1);

    void joinMeeting(Integer id, Integer id1);
}
